package com.mapper;

import com.entity.Goods;
import com.entity.Goodtype;
import com.entity.GoodtypeExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface GoodtypeMapper {
    long countByExample(GoodtypeExample example);

    int deleteByExample(GoodtypeExample example);

    int deleteByPrimaryKey(String gtid);

    int insert(Goodtype record);

    int insertSelective(Goodtype record);

    List<Goodtype> selectByExample(GoodtypeExample example);


    List<Goodtype> getAll();

    List<Goodtype> getAllByPage(Map map);

    Goodtype selectByPrimaryKey(String gtid);

    int updateByExampleSelective(@Param("record") Goodtype record, @Param("example") GoodtypeExample example);

    int updateByExample(@Param("record") Goodtype record, @Param("example") GoodtypeExample example);

    int updateByPrimaryKeySelective(Goodtype record);

    int updateByPrimaryKey(Goodtype record);
}